<div class="title">
    <h2><?= lang('checkout.booking.summary') ?></h2>
</div>

<div class="search-list cart-list clearfix">

    <div class="car-box">

        <? $preview=$host_url.'gallery/'.$object->photo_path.'/thumb_137x100/'.$object->photo_name; ?>

        <a> <img src="<?= $preview ?>" alt="<?= $object->object_name ?>" class="details-thumb" />  </a>

        <div class="details">

            <h3><a><?= $object->object_name ?><span> <?= lang('filter.hotel') ?></span></a>

                <? if($object->object_number_of_stars != ""): ?><em class="hotel-rating stars-<?= $object->object_number_of_stars ?>"><? endif; ?></em>
            </h3>

            <p><?= trim(clean_html($object->object_info)) ?></p>


            <!--CART OPTIONS - CAR-->
            <ul class="cart-options clearfix">
                <li><?= lang('secure.for') ?>: <b><?= $object->reservation->duration ?> <? if($object->reservation->duration == 1) echo lang('secure.night'); else echo lang('secure.nights'); ?></b></li>
            </ul>
            <big><?= $object->reservation->price_total; ?>€</big>

            <h4><?= lang('secure.your_stay') ?></h4>
            <ul class="bonus-options">

                <li><span><?= lang('secure.location') ?></span> <span style="width: 65%;"> <?= $object->destination_name ?>, Montenegro</span></li>
                <li><span><?= lang('search.check_in_short') ?></span> <span style="width: 65%;"> <?= $session['check_in'] ?><? if(isset($object->object_from)) echo " - ".$object->object_from."h" ?></span></li>
                <li><span><?= lang('search.check_out_short') ?></span> <span style="width: 65%;"> <?= $session['check_out'] ?><? if(isset($object->object_to)) echo " - ".$object->object_to."h" ?></span></li>

            </ul>

            <h4 class='capitalize'><?= lang('persons') ?></h4>
            <ul class="bonus-options">
                <?
                    $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('adults'), 'text' => $session['nr_adults']));

                    if($session['nr_childrens'] > 0):
                        $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('children'), 'text' => $session['nr_childrens']));
                    endif;
                ?>        
            </ul>

            <h4 class='capitalize'><?= lang('secure.room') ?></h4>
            <ul class="bonus-options">
                <?
                    $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('secure.room'), 'text' =>  lang("room.".underscore($object->room->name))." ".$object->room->description));

                    $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('secure.service'), 'text' => $object->room->service_name));
                ?>        
            </ul>

        </div>
    </div><!-- / Item 1 -->

    <h5 class="total"><?= lang('total') ?>: <span id="final_price"><?= $object->reservation->price_total ?>€</span></h5>

    <div class="buttons-cart">
        <input type="submit" value="<?= lang('checkout.next') ?> »" class="checkout_1_button">
    </div>

</div><!-- / Three Columns -->
<style>
    .car-box h3 a:hover {
        text-decoration: none;
    }
</style>